const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave:false,
  devServer: {
    host: '127.0.0.1',
  // https:true,
    port: 8080,
    client: {
      webSocketURL: 'ws://127.0.0.1:8080/ws',
    },
    headers: {
      'Access-Control-Allow-Origin': '*',
    },
    proxy:{
      '/api':{
        target:'http://gmall-h5-api.atguigu.cn',
      },
    },
  },
  productionSourceMap:false

})
